netfront: use skb.cb for storing private data
authorkfraser@localhost.localdomain <kfraser@localhost.localdomain>
Tue, 17 Apr 2007 12:21:22 +0000 (13:21 +0100)
committerkfraser@localhost.localdomain <kfraser@localhost.localdomain>
Tue, 17 Apr 2007 12:21:22 +0000 (13:21 +0100)
commite30b0f0e5ed1ad74e6ea07e642e1ca4e9e11913a
tree0f850f84d410619d3a38bb84d4a509fd1161532a
parenta247b8c7db0b81871d089a69b60f4e1fbee33ee1
netfront: use skb.cb for storing private data

Netfront's use of nh.raw and h.raw for storing page+offset is a bit
hinky, and it breaks with upcoming network stack updates which reduce
these fields to sub-pointer sizes.  Fortunately, skb offers the "cb"
field specifically for stashing this kind of info, so use it.

Signed-off-by: Jeremy Fitzhardinge <jeremy@xensource.com>
Cc: Herbert Xu <herbert@gondor.apana.org.au>
Cc: Chris Wright <chrisw@sous-sol.org>
Cc: Christian Limpach <Christian.Limpach@cl.cam.ac.uk>
linux-2.6-xen-sparse/drivers/xen/netfront/netfront.c